import {reactive, ref} from "vue";

export default function (){
    const loading = ref<boolean>(false)
    const selectedKeys = ref<string[]>([])
    const dataSource = ref([])
    const page = reactive({
        current: 1, limit: 10, total: 0,
        layout: ["page", "limits", "prev", "refresh", "count", "next",  "skip", ]
    })

    return {
        loading,page,selectedKeys,dataSource
    }
}